﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.JuShuiTan.Model.Inter.InventoryV2
{
    public class InventoryUploadParam
    {
        private int _wms_co_id = 0;
        /// <summary>
        /// 默认主仓
        /// </summary>
        public int wms_co_id
        {
            get { return _wms_co_id; }
            set { _wms_co_id = value; }
        }

        /// <summary>
        /// 盘点类型 :全量:check （覆盖）;增量:adjust(默认adjust，在原基础数量上增加)
        /// </summary>
        public string type { get; set; }

        /// <summary>
        /// 是否自动确认单据；默认false（如果is_rm_notfound_item=true,is_confirm必须为false）
        /// </summary>
        public bool is_confirm { get; set; }

        /// <summary>
        /// 外部单号
        /// </summary>
        public string so_id { get; set; }
         
        private string _warehouse = "1";
        /// <summary>
        /// 仓库;主仓=1，
        ///      销退仓=2， 
        ///      进货仓=3，
        ///      次品仓 = 4,
        ///      自定义1仓=6，
        ///      自定义2仓=7，
        ///      自定义3仓=8
        /// </summary> 
        public string warehouse
        {
            get { return _warehouse; }
            set { _warehouse = value; }
        }

        public string remark { get; set; }

        public List<InventoryUploadItem> items { get; set; }
    }
}
